# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=telepathy-mission-control
pkgver=5.16.5
pkgrel=1
pkgdesc="An account manager and channel dispatcher for the Telepathy framework"
url="https://telepathy.freedesktop.org"
arch="all"
license="LGPL-2.1-or-later"
makedepends="python3 libxslt dbus-dev dbus-glib-dev telepathy-glib-dev glib-dev
	networkmanager-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://telepathy.freedesktop.org/releases/telepathy-mission-control/telepathy-mission-control-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="6adeb3033853bef5b732e7b85da49b75bffbdc57d968b1e4313fd1452eaf8db96c3f7f50d41ebb7bfcb084a7f093a9eaccdb28c23d2777e149a90dec6d4ef4e4  telepathy-mission-control-5.16.5.tar.gz"
